Re nements for Restart Model Elimination
نویسندگان
چکیده
Restart Model Elimination (RME) has been introduced as a variant of model elimination in [1] as a calculus which avoids contrapositives and which introduces case analysis. In [4] a variant for computing answers to disjunctive logic programs was introduced. RME is implemented as part of the PROTEIN system [2]. One result of this paper is a table of completeness results with respect to the combination of the refinements head selection function, strictness, regularity, independance of the goal clause for RME (Figure 1 below). Another original result is completeness of “early cancellation pruning”1 . In the following section we recall basic restart model elimination calculus, and in Section 2.2 we introduce refinements. The main results of this paper are then presented in Section 3. 2 Restart Model Elimination (RME) A pair of literals (K;L) is a connection with MGU σ iff σ is a most general unifier for K and L. A clause is considered as a multiset of literals, usually written as an implication A1_ : : :_Am B1^ : : :^Bn where the As and Bs are atoms. Clauses with m 1 are called program clauses with head literals Ai and body literals Bi, if present. Negative clauses are written as B1^ : : :^Bn. We assume our clause sets to be in Goal normal form, i.e. there exists only one negative clause which furthermore does not contain variables. Without loss of generality this can be achieved by introducing a new clause Goal where Goal is a new predicate symbol, and by replacing every negative clause B1^ : : :^Bn by Goal B1^ ^Bn. We consider literal trees (aka tableaux), i.e. finite, ordered trees, all nodes of which, except the root, are labeled with a literal. A branch of length n consisting of the nodes N0;N1; : : : ;Nn with root N0 and leaf Nn is usually written as [L1 : : : Ln] where Li is the label of Ni. In general, we find it practical to confuse a node with its label. The letters p and q are branch-valued variables, and if p = [L1 : : : Ln 1] then [p Ln] is the branch [L1 : : : Ln 1 Ln]. The functions First and Leaf return the first labeled, resp. last node of a branch. The extension of [p] with clause C, written as [p] C, is the branch set f[p L] j L 2 Cg. Equivalently, in tree view this operation extends the branch [p] by jCj new nodes which are labelled with the literals from C.
منابع مشابه
Reenements for Restart Model Elimination Reenements for Restart Model Elimination
We introduce and discuss a number of reenements for restart model elimination (RME). Most of these reenements are motivated by the use of RME as an interpreter for disjunctive logic programming. Especially head selection function, computation rule, strictness and independence of the goal clause are motivated by aiming at a procedural interpretation of clauses. Other reene-ments like regularity ...
متن کاملElimination of Equality via Transformation with Ordering Constraints
We re ne Brand's method for eliminating equality axioms by (i) imposing ordering constraints on auxiliary variables introduced during the transformation process and (ii) avoiding certain transformations of positive equations with a variable on the right-hand side. The re nements are both of theoretical and practical interest. For instance, the second re nement is implemented in Setheo and appea...
متن کاملRe nement - based Planning As Satis ability
It has been shown recently that planning problems are easier to solve when they are cast as model nding problems. Some schemes for automated generation of the encodings of the planning problems in propositional logic have been designed. However these schemes lack several of the re nements that traditional split & prune type planners do. We show that it is possible to transfer these re nements i...
متن کاملHigher Order Functional Logic Programming A Systematic Development
We develop an e ective model for higher order functional logic programming by re ning higher order narrowing calculi The re nements reduce the high degree of non determinism in narrowing calculi utilizing properties of functional logic programs These include convergent and left linear rewrite rules All re nements can be combined to a narrowing strategy which generalizes call by need as in funct...
متن کاملModel Elimination, Logic Programming and Computing Answers
We demonstrate that theorem provers using model elimination (ME) can be used as answer complete interpreters for disjunctive logic programming. More specifically, we introduce a mechanism for computing answers into the restart variant of ME. Building on this, we develop a new calculus called ancestry restart ME. This variant admits a more restrictive regularity restriction than restart ME, and,...
متن کامل